<!DOCTYPE html>
<html>
<head>
  <div th:replace="common/common_resource :: common_css"></div>
  <title th:text="${application.shop_name} +' | 激活'"></title>
</head>
<body class="hold-transition register-page">
	<div class="register-box">
		<div class="register-logo">
			<a th:href="${#httpServletRequest.getContextPath()}+'/index'"><b th:text="${application.shop_name}"></b></a>
		</div>
		<div class="register-box-body">
			<p class="login-box-msg">激活登陆账号</p>
			<form th:action="${#httpServletRequest.getContextPath()}+'/registerSubmit'"  method="post">
				<span id="message" th:text="${message}" style="color: red"></span>
				<div class="form-group ">
					<input type="text" class="form-control" th:value="${employee!=null} ? ${employee.empName} : '' " name="empName" id="empName" placeholder="姓名*" />
				</div>
				<div class="form-group ">
					<input type="text" id="empIdcard"  th:value="${employee!=null} ? ${employee.empIdcard} : '' " name="empIdcard" class="form-control" placeholder="身份证号*" />
				</div>
				<div class="form-group ">
					<input type="hidden" id="empUuid" name="empUuid" /> 
					<input type="text" id="empUsername" name="empUsername"  class="form-control" th:value="${employee!=null} ? ${employee.empUsername} : '' "  readonly="readonly" placeholder="登陆名*"/>
				</div>
				<div class="form-group ">
					<input type="password" class="form-control" id="empPassword" th:value="${employee!=null} ? ${employee.empPassword} : '' " name="empPassword" placeholder="设置密码*" />
				</div>
				<div class="form-group ">
					<input type="password" class="form-control" name="checkPwd" id="checkPwd"  placeholder="确认密码*" />
				</div>
				<div class="row">
					<div class="col-xs-6 form-group ">
						<input type="text" id="checkcode" th:value="${checkcode}" name="checkcode" class="form-control" placeholder="请输入验证码*"></input>
					</div>
					<div class="col-xs-6">
						<img th:src="${#httpServletRequest.getContextPath()}+'/getcaptcha'" height="35px" id="checkimg" />
					</div>
				</div>
	          <!--   <label></label>
				<div class="form-group">
					<div class="input-group">
						<div class="input-group-addon">
							<i class="fa fa-phone"></i>
						</div>
						<input type="text" name="empTele" id="empTele" class="form-control" placeholder="绑定的手机号" data-inputmask="&quot;mask&quot;: &quot;(999) 999-9999&quot;"  data-mask="" />
						<span style="font-size: medium; color: #9e0505"></span>
					</div>
				</div>
				<div class="row">
					<div class="col-xs-6 pull_left">
						<div class="form-group has-feedback">
							<input class="form-control" id="msg_num" th:value="${msg_num}" name="msg_num" placeholder="请输入验证码" data-bv-field="msg_num" />
							<i class="form-control-feedback bv-no-label" data-bv-icon-for="msg_num" style="display: none;"></i> 
						</div>
					</div>
					<div class="col-xs-6 pull_center">
						<div class="form-group">
							<input type="button" class="btn btn-block btn-flat" id="verify_refresh" onclick="getMsgNum(this)" value="免费获取验证码"/>
						</div>
					</div>
				</div> -->
	
				<div class="row">
					<button type="submit" class="btn btn-primary btn-block btn-flat">激活</button>
				</div>
		</form>

		<div class="social-auth-links text-center">
			<h4 style="color: #9c3328; left: auto">注册提示：</h4>
			<p class="bg-yellow ">注册过程中:通过输入个人姓名和个人身份证获取登录账号，获取后成功后请设置自己的登录密码，再点击注册，即可将用户账号激活成功!</p>
		</div>

			<a th:href="${#httpServletRequest.getContextPath()}+'/login'" class="text-center">我已经激活！</a>
		</div>
	</div>
	
	<div th:replace="common/common_h5 :: error_message"></div>
	<script th:src="@{/bower_components/jquery/dist/jquery.min.js}"></script>
	<script th:src="@{/bower_components/bootstrap/dist/js/bootstrap.min.js}"></script>
	<script th:src="@{/bootstrap-validator/dist/js/bootstrapValidator.min.js}"></script>
	<script th:src="@{/plugins/iCheck/icheck.min.js}"></script>
	<div th:replace="common/common_resource :: common_js"></div>
	<script th:src="@{/admin_js/basics/register.js}"></script>
</body>
</html>
